from django.conf.urls.defaults import *
from groundtruth.map.views import *

urlpatterns = patterns('',
    (r'^$', showMap),
    (r'^infowindow/location/(?P<location_id>[0-9]+)', locationDetail, {'template': 'map/worklet/infowindow.html'}),
    (r'^sidebar/location/(?P<location_id>[0-9]+)', locationDetail, {'template': 'map/sidebar/detail.html'}),
    (r'^sidebar/location/info/(?P<location_id>[0-9]+)', locationDetail, {'template': 'map/sidebar/info.html'}),
    (r'^sidebar/location/photos/(?P<location_id>[0-9]+)', locationPhotos, {'template': 'map/sidebar/photos.html'}),
    (r'^sidebar/location/discussion/(?P<location_id>[0-9]+)', locationDiscussion, {'template': 'map/sidebar/discussion.html'}),
    (r'^sidebar/location/howcanihelp/(?P<location_id>[0-9]+)', locationDetail, {'template': 'map/sidebar/howcanhelp.html'}),
    (r'^sidebar/location/discussion/new/(?P<location_id>[0-9]+)', newComment, {'template': 'map/sidebar/newcomment.html'}),

)
